package com.yf.yfwebview.web

import android.webkit.WebChromeClient
import android.webkit.WebView

class WebViewChromeClient(private val callBack: WebViewCallBack): WebChromeClient() {
    override fun onReceivedTitle(view: WebView?, title: String?) {
        super.onReceivedTitle(view, title)
        if (title != null) {
            callBack.upDateTitle(title)
        }
    }

}